#ifndef _FILE_STORAGE_H_
#define _FILE_STORAGE_H_

#include "Date.h"
#include "Additional.h"
#include "ProcessList.h"
#include "ProcessHistory.h"
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>


using namespace std;

class FileStorage
{
public:
	FileStorage();
	void readFromFile(vector<Date>& currentList, vector<Date>& historyList);
	void writeToFile(vector<Date>& currentList, vector<Date>& historyList);
private:
	string transferText(vector<Date>list, string);
	string trim (string);
};
#endif